<div class="workplace">  
	<?php echo $template['partials']['loading_ajax']; ?>
	<?php echo $template['partials']['note'];?>

	<div class="row-fluid">

                    <div class="span12">
                        <div class="head clearfix">
                            <div class="isw-picture"></div>
                            <h1>Videos of <?=$nameperson?></h1>
                        </div>
                        <div class="block gallery clearfix">
                        	<?php if(count($videos )) : ?>
                        	<?php foreach($videos as $video) : ?>
                            	<div class="span4" id="video_<?=$video['id']?>">
	                            	<div class="div">
	                            		<object width="100%" height="315"><param name="movie" value="<?=$video['url_video']?>"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="<?=$video['url_video']?>" type="application/x-shockwave-flash" width="100%" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>
	                            	</div>
	                            	
	                            	<div class="btn btn-mini" onclick="confirm_del('<?=URL_ADMIN?>person/delete_video/<?=$video['id']?>', 'video_<?=$video['id']?>')">
	                            		<span class="icon-trash"></span>
	                            		<span>Remove</span>
	                            	</div>
                            	</div>
                   
                        	<?php endforeach ?>
                        	<?php else : ?>
                        		<p>The video was not found</p>
                    		<?php endif?>
                        </div>
                    </div>

                </div>

                <div class="dr"><span></span></div>

</div>